package com.cjj.dto.resp;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 评论响应VO
 */
@Data
public class CommentVO {
    private Long commentId;
    private Long postId;
    private Long userId;
    private Long parentId;
    private Long replyToUserId;
    private String content;
    private Integer likeCount;
    private String status;
    private LocalDateTime createTime;
    
    // 扩展字段
    private String userName;          // 评论用户姓名
    private String userAvatar;        // 评论用户头像
    private String replyToUserName;   // 回复目标用户姓名
    private Boolean hasLiked;         // 当前用户是否点赞
    private List<CommentVO> replies;  // 回复列表（二级评论）
}